package com.b2c.ftysys.domain;

import java.util.Date;

public class Order {

	/**
	 * 执行中
	 */
	public static final int ORDER_ON_PROCESS = 1;
	
	/**
	 * 取消
	 */
	public static final int ORDER_CANCEL = 2;
	
	/**
	 * 完成
	 */
	public static final int ORDER_DONE = 3;

	private Long orderid;

	private String cmtorderid;

	private Date orderdate;

	private String ordertype;

	private String cmtwarehouse;

	/**
	 * 订单状态
	 */
	private Integer orderstatus;

	private String paytype;

	private String remark;

	/**
	 * 订购产品总数
	 */
	private Integer totalNum;

	/**
	 * 订单原件名称
	 */
	private String fileAddr;

	public Long getOrderid() {
		return orderid;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method sets the
	 * value of the database column order.orderId
	 * 
	 * @param orderid
	 *            the value for order.orderId
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public void setOrderid(Long orderid) {
		this.orderid = orderid;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method returns the
	 * value of the database column order.cmtOrderId
	 * 
	 * @return the value of order.cmtOrderId
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public String getCmtorderid() {
		return cmtorderid;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method sets the
	 * value of the database column order.cmtOrderId
	 * 
	 * @param cmtorderid
	 *            the value for order.cmtOrderId
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public void setCmtorderid(String cmtorderid) {
		this.cmtorderid = cmtorderid;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method returns the
	 * value of the database column order.orderDate
	 * 
	 * @return the value of order.orderDate
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public Date getOrderdate() {
		return orderdate;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method sets the
	 * value of the database column order.orderDate
	 * 
	 * @param orderdate
	 *            the value for order.orderDate
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public void setOrderdate(Date orderdate) {
		this.orderdate = orderdate;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method returns the
	 * value of the database column order.orderType
	 * 
	 * @return the value of order.orderType
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public String getOrdertype() {
		return ordertype;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method sets the
	 * value of the database column order.orderType
	 * 
	 * @param ordertype
	 *            the value for order.orderType
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public void setOrdertype(String ordertype) {
		this.ordertype = ordertype;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method returns the
	 * value of the database column order.cmtWarehouse
	 * 
	 * @return the value of order.cmtWarehouse
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public String getCmtwarehouse() {
		return cmtwarehouse;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method sets the
	 * value of the database column order.cmtWarehouse
	 * 
	 * @param cmtwarehouse
	 *            the value for order.cmtWarehouse
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public void setCmtwarehouse(String cmtwarehouse) {
		this.cmtwarehouse = cmtwarehouse;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method returns the
	 * value of the database column order.orderStatus
	 * 
	 * @return the value of order.orderStatus
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public Integer getOrderstatus() {
		return orderstatus;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method sets the
	 * value of the database column order.orderStatus
	 * 
	 * @param orderstatus
	 *            the value for order.orderStatus
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public void setOrderstatus(Integer orderstatus) {
		this.orderstatus = orderstatus;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method returns the
	 * value of the database column order.payType
	 * 
	 * @return the value of order.payType
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public String getPaytype() {
		return paytype;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method sets the
	 * value of the database column order.payType
	 * 
	 * @param paytype
	 *            the value for order.payType
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public void setPaytype(String paytype) {
		this.paytype = paytype;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method returns the
	 * value of the database column order.remark
	 * 
	 * @return the value of order.remark
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * This method was generated by Abator for iBATIS. This method sets the
	 * value of the database column order.remark
	 * 
	 * @param remark
	 *            the value for order.remark
	 * 
	 * @abatorgenerated Tue Jul 13 23:00:01 CST 2010
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(Integer totalNum) {
		this.totalNum = totalNum;
	}

	public String getFileAddr() {
		return fileAddr;
	}

	public void setFileAddr(String fileAddr) {
		this.fileAddr = fileAddr;
	}
}